<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width: 100px;
            /*baseline基线对齐(默认)
              top上对齐
              bottom下对齐
              middle 中间对齐
            */
            vertical-align: bottom;
        }
    </style>
</head>
<body>
<input type="text"><img src="b.jpg" alt="">
</body>
</html>